<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/MyTags.tld" prefix="mytag" %>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<html:base/>

</head>


<body>
	 <html:form action="register">   
   		UserName:<html:text property="username" /><br>
   		enter password:<html:password property="password1" /><br>
   		re-enter password:<html:password property="password2" /><br>   		
   		<input type = hidden name="example" value="Bobby"/>
		<html:submit value="Register" />	
	</html:form> 
	
	
	
	<!-- <form method = post action = "/aa/register.do">
		<input type = text name = username>
		<input type = password name = password1 value = "">
		<input type = password name = password2 value = "">
		<input type = submit value = submit>
	
	</form> -->


<%-- This is implementation of my first custom tag --%>
	
	<mytag:hello name = "Ranjith" reps="1"> 
		hi this is body
	</mytag:hello>	
	

<%-- //Examples for declarations in jsp --%>

<%-- 	<%=System.class %>
	1..<%System.currentTimeMillis(); %>
	2..<%=System.currentTimeMillis() %>
	<%!int i = 10; %> Servlet body
	<%int i = 100; %> service method --%>
<br><br><br>




</body>
</html>